package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/6/28.
 */

public class OrderDetailBean {


    /**
     * code : 200
     * message : 加载成功
     * data : {"address":[{"id":12,"member_id":8,"address":"广西壮族自治区北海市海城区广西壮族自治区北海市海城区mmmmmmm","username":"sdfgg","mobile":"13091452556","city":"广西壮族自治区北海市海城区","status":1,"create_time":"2017-07-04 18:05:23","tel":"13091452556","total":"0.02","postcost":4,"content":"heehehehehehe","ordersn":"2017070418051176486","paytype":"1","discount":"20.50","goodsmoney":"345.00"}],"goods":[{"picurl":"/uploads/image/20170704/cac0bbf2ccb4f50cad218262f00f1de9.gif","goods_attr":"1","goods_title":"鹿藏片","num":1,"goods_price":"40.00"},{"picurl":"/uploads/image/20170704/de4a2d8b56ca574967ec6341777f0d05.gif","goods_attr":"1","goods_title":"鹿角胶","num":1,"goods_price":"40.00"},{"picurl":"/uploads/image/20170704/28a2c4b0545be71c3683a5cb0da5ad45.jpg","goods_attr":"1","goods_title":"干鹿茸","num":1,"goods_price":"40.00"}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<AddressBean> address;
        private List<GoodsBean> goods;

        public List<AddressBean> getAddress() {
            return address;
        }

        public void setAddress(List<AddressBean> address) {
            this.address = address;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class AddressBean {
            /**
             * id : 12
             * member_id : 8
             * address : 广西壮族自治区北海市海城区广西壮族自治区北海市海城区mmmmmmm
             * username : sdfgg
             * mobile : 13091452556
             * city : 广西壮族自治区北海市海城区
             * status : 1
             * create_time : 2017-07-04 18:05:23
             * tel : 13091452556
             * total : 0.02
             * postcost : 4
             * content : heehehehehehe
             * ordersn : 2017070418051176486
             * paytype : 1
             * discount : 20.50
             * goodsmoney : 345.00
             */

            private String id;
            private String member_id;
            private String address;
            private String username;
            private String mobile;
            private String city;
            private String status;
            private String create_time;
            private String tel;
            private String total;
            private String postcost;
            private String content;
            private String ordersn;
            private String paytype;
            private String discount;
            private String goodsmoney;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMember_id() {
                return member_id;
            }

            public void setMember_id(String member_id) {
                this.member_id = member_id;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getTel() {
                return tel;
            }

            public void setTel(String tel) {
                this.tel = tel;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getPostcost() {
                return postcost;
            }

            public void setPostcost(String postcost) {
                this.postcost = postcost;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getOrdersn() {
                return ordersn;
            }

            public void setOrdersn(String ordersn) {
                this.ordersn = ordersn;
            }

            public String getPaytype() {
                return paytype;
            }

            public void setPaytype(String paytype) {
                this.paytype = paytype;
            }

            public String getDiscount() {
                return discount;
            }

            public void setDiscount(String discount) {
                this.discount = discount;
            }

            public String getGoodsmoney() {
                return goodsmoney;
            }

            public void setGoodsmoney(String goodsmoney) {
                this.goodsmoney = goodsmoney;
            }
        }

        public static class GoodsBean {
            /**
             * picurl : /uploads/image/20170704/cac0bbf2ccb4f50cad218262f00f1de9.gif
             * goods_attr : 1
             * goods_title : 鹿藏片
             * num : 1
             * goods_price : 40.00
             */

            private String picurl;
            private String goods_attr;
            private String goods_title;
            private String num;
            private String goods_price;

            public String getPicurl() {
                return picurl;
            }

            public void setPicurl(String picurl) {
                this.picurl = picurl;
            }

            public String getGoods_attr() {
                return goods_attr;
            }

            public void setGoods_attr(String goods_attr) {
                this.goods_attr = goods_attr;
            }

            public String getGoods_title() {
                return goods_title;
            }

            public void setGoods_title(String goods_title) {
                this.goods_title = goods_title;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }
        }
    }
}
